Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

145
Visualizações
Vue native "Element type is invalid" error after initialising the project

I just made a vue-native project using vue-native init henry-pager and then CDd into the directory and ran expo start to start the online builder gui thingy. When I try and run it in the web - it gives this error:

Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

Check the render method of `ExpoRootComponent`.

Please help, I just made this vue-native project and started it and don't know what to do now!

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Even if you use Expo, you should start the project by the following command: npm start instead of expo start

The steps that works for me.

Step 0: Install vue-native-cli

npm install --global vue-native-cli

Step 1: Install Expo CLI globally

$ npm install --global expo-cli

Step 2: Create a new project using the CLI’s init command

$ vue-native init <projectName>

Now cd into the newly created directory and start the development server.

$ cd <projectName>
$ npm start
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda